import { getShowCategoryList } from '../../api/request'
export default {
    namespaced: true,
    state: {
        showCategoryList: []
    },
    mutations: {
        getShowCategoryList(state, data) {
            state.showCategoryList = data
        }
    },
    actions: {
        async setShowCategoryList({ commit }) {
            let ret = await getShowCategoryList()
            commit('getShowCategoryList', ret.data.data)
        }
    }

}